home *** CD-ROM | disk | FTP | other *** search
/ Risc World 5 / Risc World 5.iso / SOFTWARE / Issue5 / IYONIX / KINOAMP / !KinoAMP / docs / Help < prev   
Text File  |  2003-04-13  |  21KB  |  559 lines

  1.                        KinoAMP v0.27
  2.               --------------------------------
  3.  
  4. An MPEG Movie player.
  5.   
  6. This version of the Kino MPEG movie player uses the AMPlayer module
  7. to decode and play the soundtrack. Once the !KinoAMP application has
  8. been 'seen' by the filer, double click Select on an MPEG file to
  9. start the player. The file must be filetyped BF8 (MPEG).
  10. To view or change playing options, launch the !KinoAMP application.
  11. It is not necessary to have the Setup Tool running to use the player.
  12.  
  13. The player is based on Kino v0.3 from eQ R&D (http://www.eqrd.net) but
  14. is self-contained and does not require the original in order to work.
  15.  
  16.  
  17. Controls:
  18. ---------
  19. Whilst playing, the following controls are provided. See also the section
  20. on multitasking. Changes made whilst playing will only affect the currently
  21. playing file unless the choices are saved from the player. To alter the way
  22. the player behaves for all files, use the Option setup.
  23.  
  24. Left Mouse Button or Return key:
  25.    Pause/Resume.
  26.  
  27. Centre Mouse Button or Q or Escape:
  28.    Exit.
  29.  
  30. Right Mouse Button or Space Bar:
  31.    Frame advance, whilst paused. All frames are displayed when single
  32.    stepping. This means that the sound may become slightly out of sync
  33.    with the vision if many frames are stepped through.
  34.   
  35. Number keys 0..9:
  36.    Audio channel select, see the Audio channel setup option below.
  37.   
  38. S: Whilst paused, saves the current frame as a sprite file,
  39.    <KinoSave$Dir>.frameXXXXX
  40.    where XXXXX is the frame number.
  41.    This is a screen dump of the picture area, which means,
  42.    The sprite will have the same magnification (zoom setting) and colour
  43.    depth as the display.
  44.    If the picture does not fit completely on the screen, only the
  45.    visible part will be saved.
  46.    
  47.    When multitasking, the above rules do not apply and the sprite is
  48.    always 100% magnification. If saving from the player menu, the filename
  49.    is created from the frame number when the menu was opened. The sprite
  50.    name is created from the frame number when the sprite is actually saved.
  51.    These two will be different if the player was not paused before the menu
  52.    was opened. 
  53.  
  54.    KinoSave$Dir is set to "<Kino$Dir>.saved" in the !Boot file.
  55.    
  56.    note. The frame number is the number of displayed frames since starting or
  57.    restarting. It is not reset or recalculated after rewind or fast forward.
  58.  
  59. +,- (plus and minus):
  60.    Adjusts the audio volume.
  61.   
  62. Cursor keys:
  63.    Whilst paused, the UP and DOWN keys cycle through the following controls,
  64.    
  65.    Brightness, Contrast, Colour, Volume
  66.    
  67.    The LEFT and RIGHT keys adjust the value of the control.
  68.    
  69.    An On Screen display is provided with the default value indicated.
  70.    
  71.    When not paused, the LEFT and RIGHT keys perform Rewind and Fast Forward
  72.    functions by jumping 5% of the file length. For small files the Fast
  73.    forward and Rewind positioning can be very approximate.
  74.    There is a delay after repositioning before the video playback starts. This
  75.    is because although the sound can start immediately, the video must wait
  76.    until the next 'key' frame is encountered.
  77.  
  78. Z: Increase Zoom setting.
  79.    
  80. X: Decrease Zoom setting.
  81.  
  82. R: Restart the film.
  83.    
  84. L: Switches on and off continuous looping or repeating of the film.
  85.  
  86. A: Switches on and off auto exit. This has no effect if looping is selected. 
  87.  
  88. M: Mutes and restores the audio.
  89.  
  90. F3: Saves the current choices. When the player is multitasking, the choices
  91.    window will be updated if it is open. When not multitasking, to update the
  92.    choices window after the player has finished use the reload option from the
  93.    Icon bar menu.
  94.  
  95.  
  96. Multitasking:
  97. -------------
  98. Desktop multitasking slows the player down by about 10%. Depending on what else is
  99. running, at least a further 10% is lost to the operating system and other
  100. applications. The speed of full screen and single task desktop modes are unaffected.
  101. There are a few changes to the playing controls when multitasking to maintain
  102. compatibility with other applications.
  103.  
  104. The close button of the player window will exit the player.
  105. The adjust size icon will change the display size and aspect ratio.
  106.  
  107. The keyboard controls described in the previous section will only work if the
  108. player window has the input focus. To gain the input focus, click select or adjust
  109. within the player window. Adjust will gain the focus without pausing the player.
  110.  
  111. Dragging an MPEG file to the player window will stop the current playback and
  112. start the new file playing.
  113.  
  114. A Drawfile banner (<Kino$Dir>.Banner) will be displayed for 1 second before
  115. the film starts. If there is no file, this is skipped.
  116.  
  117.  
  118. Control Panel: 
  119.   A control panel containing basic playing controls is available and when opened
  120.   attaches itself below the picture window. It can be opened and closed from the
  121.   player menu.
  122.   The control buttons are, from left to right,
  123.   
  124.   Play: Resume normal playback.
  125.   
  126.   Step: Single frame advance.
  127.   
  128.   Pause: Stop playback at the current location.
  129.   
  130.   Stop: Stop playback and restart the film.
  131.   
  132.   Rewind: Go back 5% of the file length.
  133.   
  134.   Fast forward: Go forwards 5% of the file length.
  135.   
  136.   Mute: Mute/restore audio.
  137.   
  138.   Click anywhere on the timeline (progress bar) to jump to that position.
  139.   
  140.   For small files the Fast forward and Rewind positioning can be very
  141.   approximate and clicking to new position using the timeline can be more
  142.   accurate.
  143.   There is a delay after repositioning before the video playback starts. This
  144.   is because although the sound can start immediately, the video must wait
  145.   until the next 'key' frame is encountered.
  146.  
  147.  
  148. Player Menu:
  149.    Clicking Menu within the Player window will open the player menu. This
  150.    provides the following facilities.
  151.  
  152.    File Info:
  153.       Opens a window containing information on the currently playing file.
  154.       If the window is already open this will update it. The information is
  155.       similar to that obtained from the Icon bar menu but is the currently
  156.       playing file and not the last played file.
  157.    
  158.    Zoom:
  159.       Select the zoom setting, as 'Z' and 'X'.
  160.  
  161.  
  162.    Lock aspect:
  163.       When locked, the aspect ratio of the display is kept the same as the 
  164.       original picture. When unlocked, the adjust size icon can be used to
  165.       adjust the x and y scale factors independently.
  166.       
  167.    Lock size:
  168.       When locked, the picture size always just fills the window. When unlocked,
  169.       the picture is allowed to be larger but not smaller than the window.
  170.       
  171.    Pause:
  172.       Pause/Resume.
  173.  
  174.    Restart:
  175.       Restarts the film.
  176.          
  177.    Loop:
  178.       Switches on and off continuous looping or repeating of the film.
  179.  
  180.    Auto exit:
  181.       Switches on and off auto exit. This has no effect if looping is selected.
  182.       
  183.    Mute audio:
  184.       Mutes and restores the audio.
  185.  
  186.    Controls:
  187.       Opens and closes the control panel.
  188.       
  189.    Save choices:
  190.       Saves the current choices. See the notes for key 'F3'.
  191.          
  192.    Save frame:
  193.       Similar to 'S', but being a normal dialogue box, this allows the frame
  194.       to be saved by dragging, and the name to be changed. The path defaults
  195.       to the 'saved' directory. Once a path is provided, by dragging or typing,
  196.       it will be remembered for the duration of the currently playing file.
  197.       The size of the resulting sprite will always be 100% when multitasking.
  198.  
  199.  
  200. Options Setup:
  201. --------------
  202. To change the playing options, launch the !Kino application which will
  203. install itself on the Iconbar. Selecting the Icon will open a
  204. configuration window from which the playing options can be setup.
  205. These options are passed to the player when it starts playing a file.
  206. This means that changes made when the player is multitasking will not take
  207. effect until the next file is played.
  208.  
  209. Audio Options:
  210.  
  211.    Play Soundtrack:
  212.       Enables the soundtrack.
  213.   
  214.    Save Soundtrack:
  215.       Saves the soundtrack as an Audio MPEG file,
  216.       <KinoSave$Dir>.Soundtrack
  217.       
  218.    Re-synchronize:
  219.       This will attempt to re-synchronize the audio if it gets out
  220.       of step. It can be disabled if adjustments are made too often
  221.       and become noticeable.
  222.  
  223.    Audio Channel:
  224.       Select the audio channel to play. This is only of use with clips
  225.       that contain more than 1 audio channel. e.g. 2 languages.
  226.       Most clips only contain channel 0.
  227.  
  228. Video Options:
  229.  
  230.    Screen Mode:
  231.       These options select between using the desktop and a full screen
  232.       mode.
  233.       
  234.       Desktop:
  235.          Use the desktop for display.
  236.   
  237.       Auto:
  238.          A full screen mode is automatically selected to give the largest
  239.          display with as many colours as possible. Only modes with an aspect
  240.          ratio between 6:5 and 3:2 are used. Zoom is fixed at 100% when the
  241.          player starts, but can be altered whilst playing.
  242.          
  243.          Colours:
  244.             When Auto mode is selected, the maximum colour depth can be
  245.             specified using the Colours menu. This is a separate colour
  246.             depth setting from the Manual setting.
  247.             
  248.          Resolution:
  249.             When Auto mode is selected, the minimum screen size can be
  250.             specified using the Resolutions menu. This is a separate
  251.             resolution from the Manual setting.
  252.     
  253.       Manual:
  254.          Manually select a screen mode for display with the following
  255.          Colours and Resolution.
  256.  
  257.          Colours:
  258.             Select the colour depth for full screen operation. Some
  259.             combinations of colour/resolution may not be possible.
  260.             '16 million' provides the highest quality but is slowest.
  261.             '32 thousand' provides reasonable quality and speed.
  262.             '256 colours' provides lower quality but is fastest.
  263.     
  264.          Resolution:
  265.             Select the screen x,y resolution for full screen operation.
  266.             The available screen resolutions will vary between machines.
  267.             The visible aspect ratio of the picture may not be correct
  268.             with non-square pixel modes. A resolution of 480 x 352 will
  269.             suit most MPEG 1 clips.
  270.       
  271.    Zoom:
  272.       Picture magnification. Options are 50% 100% 200% 300% 400%
  273.       The higher the magnification, the slower the player and more frames
  274.       may be skipped to keep time. There are separate settings for Desktop
  275.       and Manual modes. For Auto screen mode, zoom is always started at
  276.       100%, but can be altered whilst playing.
  277.  
  278.    All Frames:
  279.       The player will drop or skip frames if it is running late. This
  280.       option forces it to display all frames ignoring timing constraints.
  281.       The sound may break up if not disabled.
  282.  
  283.    Monochrome:
  284.       This uses optimised greyscale drivers to display the video.
  285.       These drivers do not support Brightness, Contrast and Colour
  286.       control.
  287.  
  288.    Dither:
  289.       Enables dithering on 256 and 32 thousand colour modes. This improves
  290.       the display by increasing the number of perceived colours.        
  291.  
  292. Desktop Options:
  293.  
  294.    Multitask:
  295.       Selects desktop multitasking operation.
  296.       
  297.    Lock aspect ratio:
  298.       When multitasking, the height and width can be adjusted independently.
  299.       Setting this option keeps the aspect ratio the same as the original
  300.       picture.
  301.       
  302.    Lock size to window:
  303.       When multitasking, this option makes the picture always just fill the
  304.       window. When not set, the picture is allowed to be larger but not smaller
  305.       than the window.
  306.       
  307.    Control Panel:
  308.       When selected, the player will start with the control panel open when
  309.       multitasking.
  310.       
  311.    Skin:
  312.       Select the control panel skin from those available.
  313.  
  314. General Options:
  315.  
  316.    Auto exit:
  317.       When selected, the player will exit when the file has finished.
  318.       When not selected, the player will stop at the end of the film.
  319.       Play will resume from the begining. If the player is set to continuously
  320.       loop, the auto exit option has no effect. When the player stops at the
  321.       end of the film, the positioning controls, fast forward, rewind, and
  322.       time bar will not work until play has resumed from the begining again.
  323.       
  324.  
  325.    Continuous loop:
  326.       When selected, the film will restart when finished.   
  327.       
  328. Iconbar Menu:
  329.  
  330.    Choices:
  331.       Opens the configuration window. This has the same effect as
  332.       clicking Select on the Iconbar Icon.
  333.       
  334.    Saved:
  335.       This opens the directory where sprites and soundtracks are saved.
  336.       Clicking Adjust on the Iconbar Icon has the same effect.
  337.  
  338.    File Info:
  339.       Opens a window containing information on the last file played. If
  340.       the window is already open this will update it. Information is only
  341.       available after a file has been played.
  342.          
  343.    Reload:
  344.       Selecting this will reload the Choices file and update the current
  345.       options. It resets the options to the last save or 'OK'. Avoids
  346.       having to quit and re-run if the Choices file has been edited by
  347.       hand. e.g. when changing debug options.
  348.       
  349.    Help:
  350.       Opens this file.
  351.  
  352.  
  353. Requirements:
  354. -------------
  355.    AMPlayer module version 1.39 or later.
  356.    SharedSound module version 0.59 or later.
  357.    32 bit Shared C Library for pre RISCOS 5 machines.
  358.  
  359. Supported formats:
  360. ------------------
  361.  
  362. MPEG1/2 Program stream containing,
  363.   MPEG1/2 video stream on channel 0.
  364.   Any MPEG audio stream that AMPlayer can cope with on channels 0 to 9.
  365.   
  366. MPEG1/2 Elementary video stream.
  367.  
  368. The Video decoder is libmpeg2. The project homepage is at
  369.  http://libmpeg2.sourceforge.net/
  370. It should be able to decode all MPEG video streams that conform to certain
  371. restrictions : "constrained parameters" for mpeg-1, and "main profile"
  372. for mpeg-2.
  373.  
  374.  
  375. Installation:
  376. -------------
  377. To install, de-archive (unzip) the application to a convenient place on
  378. your Hard Drive. If you are updating a previous version, dragging the new
  379. version over the old should be ok.
  380.  
  381. If you want to keep the old one, rename it first or hide it away, so it
  382. isn't 'seen' by the filer.
  383.  
  384. To make sure the new version runs properly, either reboot the machine or
  385. go inside the new version (shift double click Select) and double click
  386. Select on the !Boot file to force the filer to 'see' the new version.
  387.  
  388.  
  389. Technical:
  390. ---------- 
  391. The player is a command line utility that is started when an MPEG file is
  392. run. Playing options are passed to it on the command line together with
  393. the MPEG filename. The actual command line is contained in the Obey file
  394. RunKino. This file is produced by the Options Setup program when the OK
  395. Icon is selected. Options Setup also produces a file called Choices which
  396. contains the current setup. If debug or unusual options are required, a
  397. special line must be added to the Choices file.
  398.  
  399. The line "debug options = " cannot be edited via the setup window. It has
  400. to be added manually and should contain any options that are not handled
  401. by the desktop setup program, including text output redirection if
  402. required. This string is appended to the command line so any redirection
  403. must come last.
  404.  
  405. e.g.
  406. debug options = -d17
  407. debug options = -d62 2><Kino$Dir>.log
  408. debug options = -sp
  409. etc.
  410.  
  411. This facility is for testing. To use, edit Choices by hand, then run
  412. Options Setup and OK the selection. If Setup is already running, select
  413. the 'Reload' option from the Iconbar menu, then OK. This will update the
  414. RunKino file with current plus extra options. Except for 'all frames'
  415. which is ignored, all other options can be setup as normal.
  416. One comment line starting with a hash '#' will also be retained in
  417. the Choices file, so you can comment out the debug line without
  418. loosing it when the Choices file is updated by the Options Setup program.
  419.  
  420.  
  421. Command line Options:
  422. ---------------------
  423. This lists all command line options. They are only of use to those who wish
  424. to manually edit the Choices or RunKino files or if the player is to be
  425. launched from another application.
  426.  
  427. -@XX,YY In desktop mode, define the bottom left co-ordinates of the
  428.     display in pixels relative to the bottom left of the screen.
  429.     Adjustments will be made to make the picture fit completely on the
  430.     screen. Without this switch, the default is a centered display.
  431.     Both parameters must be given. i.e. -@400,300
  432.       
  433. -a  Save the soundtrack as the AMPEG file,
  434.     <kinoSave$dir>.SoundTrack
  435.     The default is not to save the soundtrack.
  436.     
  437. -bBB,CC,CC  Set the initial values for Brightness, Contrast, Colour. These
  438.     have default values of 100 and can be set between 0 and 200. All 3
  439.     values must be given. i.e. -b100,66,120
  440.  
  441. -cN Play audio channel N. where N is a number between 0 and 9.
  442.     This is only of use with clips that contain more than 1 audio
  443.     channel. e.g. 2 languages. The default is channel 0.
  444.  
  445. -dN Debug level N. This defaults to 0 (no debug). Obtain combinations by
  446.     adding up the values (in decimal). The number can be entered in hexadecimal
  447.     if preferred. i.e. -d0x7e
  448.  
  449.     bit value
  450.     0    1  : display all frames (ignore timing constraints)
  451.     1    2  : print demux time stamps.
  452.     2    4  : print audio buffer stats.
  453.     3    8  : print picture header stats.
  454.     4   16  : print end of file stats.
  455.     5   32  : print non fatal errors and some extra info.
  456.     6   64  : print frame draw stats.
  457.     7  128  : print seek stats.
  458.  
  459.     The Debug options are used for testing and can produce a /lot/ of
  460.     output to the screen. If you're into this sort of thing, redirect
  461.     output to a file. e.g.
  462.     -d62 2><kino$dir>.log
  463.     
  464. -f[choices file]
  465.     Read options from [choices file]. eg. -f<Kino$Dir>.Choices
  466.     
  467. -l  Desktop multitasking options.
  468.     -la Lock the aspect ratio. The default is unlocked.
  469.     -ls Lock the size to the window. The default is unlocked.
  470.  
  471. -m  Select the monochrome video drivers. These are slightly faster than
  472.     the colour drivers and will also be selected whilst playing if the
  473.     colour is turned right down and contrast and brightness are kept at
  474.     their default values.
  475.  
  476. -r  Audio sync control. This will attempt to re-synchronise the audio
  477.     if it gets out of step. It is an option because it can make matters
  478.     worse if adjustments are made too often. 
  479.  
  480. -s  Select stream type. By default, the file is checked for being either
  481.     an Elementary Video stream or a Program stream and the demultiplexer
  482.     is selected as required. This option overrides the check and is only
  483.     necessary if the file check fails.
  484.     -se Assume video stream.
  485.     -sp Assume program stream.
  486.  
  487. -v  Video only, the default is to play the audio.
  488.  
  489.     note. The combination -a -v is allowed and will not play the audio
  490.           track but will save it to file.
  491.           
  492. -w  Enables desktop multitasking. The default is to singletask.
  493.     
  494. -xa Automatically select the full screen mode to give the largest
  495.     display with as many colours as possible. Only modes with an aspect
  496.     ratio between 6:5 and 3:2 are used. This option forces Zoom to start
  497.     at 100%.
  498.     The maximum colour depth can be specified following the -xa option.
  499.     i.e. -xa32k or -xa256. The default is 16m which will be used if -xa
  500.     is used without a colour modifier.
  501.     
  502. -xNNNyNNNcNNN  Select the screen display mode. By default the player
  503.     uses the desktop. For 'Full Screen' or 'Big Mode' operation, specify
  504.     the mode to use. e.g.
  505.     -x480y352c16m
  506.     Supports 256, 32k and 16m colour modes. It can only use modes that
  507.     are defined in your machine.
  508.  
  509. -z  Picture Zoom control.
  510.     -z05        50% magnification
  511.     -z2 or -z  200% magnification
  512.     -z3        300% magnification
  513.     -z4        400% magnification
  514.     Without this switch the magnification is 100%, actual size.
  515.     This switch has no effect when -xa is specified and in this case the
  516.     magnification will always start at 100%.
  517.  
  518. --nodither  Disable dithering for 256 and 32k colour modes. The default
  519.     is to enable dithering.
  520.  
  521. --loop  Continuously repeat the film. The default is no looping.
  522.  
  523. --ctrl  When multitasking, display the control panel. The default is not to
  524.     display it.
  525.  
  526. --skin,[skin directory]  Defines the control panel used when multitasking.
  527.     e.g. --skin,Black
  528.     The actual location is <Kino$Dir>.skins.[skin directory]
  529.     The default is to use the Black skin.
  530.     
  531. --volNN  Sets the starting volume to NN, from 0 to 127. The default is to use
  532.     the current AMPlayer setting.
  533.  
  534. --noexit Stops the player from exiting at the end of a film. The default is to
  535.     exit.     
  536.  
  537.  
  538. Known Problems:
  539. ---------------
  540.  Operation direct from CD is not good.
  541.    
  542.  
  543. Credits:
  544. --------
  545. For the video decoder, the libmpeg2 team.
  546. For the original !Kino, eQ R&D.
  547. For many additions, improvements, and optimisations,
  548.    André Timmermans and Henrik Bjerregaard Pedersen.
  549. For sound, the AMPlayer developers.
  550. For help with 32 bit conversion, Peter Naulls.
  551. For the TimerMod module, David Ruck.
  552.  
  553.  
  554. 10/04/03
  555. P.Everett
  556. email: peter@everett9981.freeserve.co.uk
  557. web: http://www.everett9981.freeserve.co.uk/pete.htm
  558.  
  559.